<?php
namespace app\manage\validate;

use think\Validate;

class AuthGroup extends Validate
{
    protected $rule = [
        'title'  =>  'require|chs|length:2,10'
    ];


    protected $message  =   [
        'title.require' => '用户组名称必须',
        'title.length'  => '用户组名称2-10个字符',
        'title.chs'     => '用户组名称必须是汉字'
    ];

}